<div class="fsh-pop" style="width:90%">
    <div id="add_form" class="layui-form">
        <input type="hidden" name="id" value="<%=id%>">
        <div class="layui-form-item">
            <label class="layui-form-label">未审核数据失败时间</label>
            <div class="layui-input-block">
                <div class="layui-input-inline">
                    <input type="text" name="date" class="layui-input" id="test5" placeholder="yyyy-MM-dd HH:mm:ss">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">上传对比</label>
            <div class="layui-input-block">
                <div class="layui-upload">
                    <button type="button" class="layui-btn layui-btn-normal" id="test8">选择文件</button>
                    <button type="button" class="layui-btn" id="test9">开始上传</button>
                </div>
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <textarea  class="layui-textarea" readonly>
                    必须上传excel文件，xls文件示例：
                    开户手机
                    13822912234
                    13822912234
                </textarea>
            </div>
        </div>
    </div>
</div>
<script>

    layui.use(['upload','laydate'], function(){
        var $ = layui.jquery
            ,upload = layui.upload
            ,laydate = layui.laydate;

        //选完文件后不自动上传
        upload.render({
            elem: '#test8'
            ,url: 'buss/task/log/daoru?taskId=<%=id%>'
            ,auto: false
            //,multiple: true
            ,exts:'xls'
            ,bindAction: '#test9'
            ,done: function(res){
                console.log(res)
            }
        });
        //日期时间选择器
        laydate.render({
            elem: '#test5'
            ,type: 'datetime'
        });
    });
</script>
